
 <div class="r" style="float:right;">
<?php
	if ($login_username){
?>
		<span class="r_nav"><?php  echo $login_username;?>  </span><span class="pipe">|</span>
		<span class="r_nav">[ <a rel="nofollow" href="/index.php/auth/change_password">修改密码</a>]</span><span class="pipe">|</span>
		<span class="r_nav">[ <a rel="nofollow" href="https://open.weixin.qq.com/connect/qrconnect?appid=wxffe98e95f9cbacfe&scope=snsapi_login&redirect_uri=http://thinktodo.cn/index.php/auth/wx_bind&state=1234&login_type=jssdk&self_redirect=true&styletype=&sizetype=&bgcolor=&rst=">微信绑定</a>]</span><span class="pipe">|</span>
		<span class="r_nav">[ <a rel="nofollow" href="/index.php/auth/logout">退出</a>]</span><span class="pipe">|</span>
<?php
	}else{
?>
		 <span class="r_nav">[ <a rel="nofollow" href="/index.php/auth/login">密码登录</a>]</span><span class="pipe">|</span>
		 <span class="r_nav">[ <a rel="nofollow" href="https://open.weixin.qq.com/connect/qrconnect?appid=wxffe98e95f9cbacfe&scope=snsapi_login&redirect_uri=http://thinktodo.cn/index.php/auth/wx_login&state=1234&login_type=jssdk&self_redirect=true&styletype=&sizetype=&bgcolor=&rst=">微信登录</a>]</span><span class="pipe">|</span>
		 <span class="r_nav">[ <a href="/index.php/auth/register" rel="nofollow">注册</a> ]</span><span class="pipe">|</span>
<?php
	}
?>   
 </div>
  